-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better docs for Faker::Food.description #1121
Better docs for Faker::Food.description #1121
Conversation
lib/faker/food.rb
Outdated
def measurement | ||
fetch('food.measurement_sizes') + ' ' + fetch('food.measurements') | ||
end | ||
|
||
|
||
# Retrieves metric measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jujulisan shouldn't it be Retrieves metric mesurements
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks, I'll fix that.
lib/faker/food.rb
Outdated
def description | ||
fetch('food.descriptions') | ||
end | ||
|
||
# Retrieves a ingredient for dishes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be Retrieves an ingredient for dishes
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks, I'll fix that.
6394a28
to
d11bd7e
Compare
@jujulisan could you also rebase this branch with master and fix the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had free time today and decided to rebase the branch and fix the minor requests.
Thanks for contributing 😃 and welcome 🥇
* better docs for Faker::Food.description * Minor changes
Insert docs for Food Class